import request from '@/utils/request'
//教室管理接口
export function eduClassJobsQuery(data) {
  //分页列表
  return request({
    method: 'get',
    url: '/eduClassJobs/query',
    params: data,
  })
}

export function eduClassJobsQueryById(id) {
  //查询
  return request({
    method: 'get',
    url: '/eduClassJobs/query/' + id,
  })
}

export function eduClassJobsAdd(data) {
  //添加
  return request({
    method: 'post',
    url: '/eduClassJobs/add',
    data,
  })
}

export function eduClassJobsDelete(id) {
  //删除
  return request({
    method: 'get',
    url: '/eduClassJobs/delete/' + id,
  })
}

export function eduClassJobsUpdate(data) {
  //修改
  return request({
    method: 'post',
    url: '/eduClassJobs/update',
    data,
  })
}
